<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">

<h:head>
	<h:outputStylesheet library="css" name="default.css" />
	<f:loadBundle var="label" basename="labels" />
</h:head>

<!-- <style type="text/css">   
     @import url(#{facesContext.externalContext.request.contextPath}/resources/css/default.css)   
 </style>  -->

<ui:insert name="style" />

<h:body>

	<h:form id="formulario">

		<div align="center">

			<div class="menu-header">
				<ui:include src="/templates/menu.xhtml" />
			</div>

			<div class="page-titulo">
				<ui:insert name="title" />
			</div>

			<ui:insert name="template-customizado" />

			<div class="central">
				<ui:insert name="footer" />
			</div>

			<ui:insert name="custom-dialogs" />

		</div>

		<ui:insert name="confirm_dialog">
			<p:confirmDialog global="true" id="modalConfirmacao" message="Deseja realmente excluir esse registro?"
				header="Confirmar Ação" width="500">
				<div align="right">
					<p:commandButton value="SIm" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check" />
					<p:commandButton value="Nao" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" />
				</div>
			</p:confirmDialog>
		</ui:insert>

		<p:growl autoUpdate="true" />

		<ui:insert name="ajax_status">
			<p:ajaxStatus onstart="PF('statusDialog').show()" oncomplete="PF('statusDialog').hide()" />

			<p:dialog id="statusDialog" widgetVar="statusDialog" modal="true" draggable="false" closable="false"
				resizable="false" showHeader="false">
				<p:graphicImage url="/resources/img/ajax_loader_bar.gif" id="imgAjaxLoad" />
			</p:dialog>
		</ui:insert>

	</h:form>

	<h:form id="other_form">
		<ui:insert name="other_form" />
	</h:form>

</h:body>

</html>
